package com.geeguo.ebuilder.client.business.system.logincertificate.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.geeguo.ebuilder.client.business.system.logincertificate.model.LoginCertificateEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface LoginCertificateMapper extends BaseMapper<LoginCertificateEntity> {
	
	LoginCertificateEntity getByCertificate(@Param("certificate") String certificate, @Param("tenantCode") String tenantCode);

	int removeByUserId(@Param("userId") String userId);
}